package com.flyme.module.base.client.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 同步到轮播图事件
 */
@Getter
public class SliserAddEvent extends ApplicationEvent {

    private static final long serialVersionUID = 1L;
    private String moduleType;
    private Long moduleId;
    private String sliderTitle;
    private String sliderImg;


    /**
     * 重写构造函数
     */
    public SliserAddEvent(Object source, String moduleType, Long moduleId, String sliderTitle, String sliderImg) {
        super(source);
        this.moduleType = moduleType;
        this.moduleId = moduleId;
        this.sliderTitle = sliderTitle;
        this.sliderImg = sliderImg;
    }
}
